home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / i / internet / software / www / stik / scripts / mag-net / dial.scr < prev    next >
Encoding:
Text File  |  1995-10-31  |  3.2 KB  |  106 lines

  1. #   Dial script file for STiK.ACC
  2. #
  3. #
  4. #   There are two parts to the connection process.
  5. #
  6. #   The first part is initialising the modem, dialing a remote system
  7. #   and establishing a connection to a remote modem.
  8. #
  9. #   The second part is to log into the remote computer.  This will
  10. #   involve entering a username and password, selecting SLIP mode,
  11. #   and reading the Internet Address that your system will have for
  12. #   the duration of the session.
  13. #
  14. #
  15. #   Dial Script Part 1  -  Establishing the connection.
  16. #
  17. #   The first thing to do is to specify the speed of the modem with
  18. #   the BAUD_RATE variable.
  19. #
  20. BAUD_RATE = 38400
  21. #
  22. #
  23. #   Next you should define how your modem responds to the DTR
  24. #   signal.  STiK will use the DTR signal to hangup the modem
  25. #   if HANGUP = DTR is set.  Otherwise set HANGUP to the
  26. #   appropriate hangup string for your modem. (eg: HANGUP = ATH)
  27. #
  28. HANGUP = DTR
  29. #
  30. #
  31. #   PREFIX sets the dial prefix (ie: ATD, ATDT, ATDP)
  32. #
  33. PREFIX = ATDT
  34. #
  35. #
  36. #   INIT set the string you can use to initialise the modem.
  37. #
  38. INIT = ATZ
  39. #
  40. #
  41. #   Dialing paramaters.
  42. #
  43. #   The dialing parameters are CONNECT_WAIT and REDIAL_DELAY.  These
  44. #   are times in seconds.  CONNECT_WAIT is the amount of time to wait
  45. #   for a connection after dialing a number.  REDIAL_DELAY is the amount
  46. #   of time to wait in between dial attempts.
  47. #
  48. CONNECT_WAIT = 35
  49. REDIAL_DELAY = 2
  50. #
  51. #
  52. #   Phone Number(s).  PHONE_NUMBER = number.  Some providers
  53. #   have more than one number you can dial.  You can specify
  54. #   up to five phone numbers here.
  55. #
  56. PHONE_NUMBER = 01908216677
  57. #PHONE_NUMBER = 2926200
  58. #
  59. #
  60. #   Determining connection success/failure.
  61. #
  62. #   Connection success can be determined either by detecting the
  63. #   modems Carrier Detect signal (SUCCESS = CDWAIT), or waiting 
  64. #   for a CONNECT response (SUCCESS = CONNECT) from the modem.
  65. #   Failure can be determined by a timeout or a modem response
  66. #   such as NO CARRIER, BUSY, NO DIALTONE etc.
  67. #   Up to five FAILURE test words can be set.
  68. #
  69. SUCCESS = CONNECT
  70. FAILURE = BUSY
  71. FAILURE = NO CARRIER
  72. FAILURE = NO DIALTONE
  73. #
  74. #
  75. #
  76. #   Dial Script Part 2  -  Log in to the Service Provider.
  77. #
  78. #   The STiK dialer uses the standard `conversational' method for
  79. #   login to the provider.  This involves searching for certain
  80. #   words and sending an appropriate response.  The special
  81. #   response $GET_IP is used to read the IP address that your
  82. #   provider has assigned you for this session.  If your provider
  83. #   has allocated you a permanent IP Address, then you should set
  84. #   it in the default.cfg file and NOT use $GET_IP.
  85. #
  86. #   Each step of the `conversation' is specified as a FIND line
  87. #   and a RESP line.  There can be up to 10 steps.  Each FIND
  88. #   must have a matching RESP, or the dialer will get confused.
  89. #
  90. #   By default each RESP line is sent with a carriage return
  91. #   character at the end.  If you need to use a line feed character
  92. #   instead then put a | at the end of the line.  This only works
  93. #   if the | is the last character of the line.
  94. #
  95. #FIND = Enter:
  96. #RESP = 3
  97. #
  98. FIND = ogin:
  99. RESP = your username
  100. #
  101. FIND = assword:
  102. RESP = your_password
  103. #
  104. #FIND = Your address is
  105. #RESP = $GET_IP
  106. #